package com.atguigu05._super;


import jdk.swing.interop.SwingInterOpUtils;

/**
 * ClassName: PersonTest
 * Description:
 *
 * @Author liu
 * @Create 2024/10/27 21:39
 * @Version 1.0
 */
public class StudentTest {
    public static void main(String[] args) {
        Student s1 = new Student();

        s1.eat();
        s1.sleep();

        System.out.println();
        s1.show();

        System.out.println();
        s1.show1();

        System.out.println();
        s1.show2();

        System.out.println(s1.name);

        System.out.println("");

        Student s2 = new Student();


        System.out.println("************");
        Student s3 = new Student("kim",20);
    }
}
